package com.sservice.banfu.vo;

import com.sservice.banfu.e.SaleInfo;

import javax.persistence.Column;
import java.util.Date;

/**
 * Created by suweiming on 2018/1/12.
 */
public class SalePersonVo extends SaleInfo {
    /***
     * 当前页
     */
    private int page = 0;


    /**
     * 每页显示数量
     */
    private int size = 15;
    /**
     * 查询关键字
     */
    private String keyword;
    /**
     * 排序字段名
     */
    private String sortField;
    /***
     * 升序，降序
     */
    private String sortOrder; //DESC ,ASC
    private Double saleTotalCash; // 总金额
    private int saleTotalNumber; // 销售单数
    /**
     * 短信验证码
     */
    private String code;
    /**
     * 图片验证码
     */
    private String imgCode;


    /**
     * 姓名
     */
    private String name;

    /**
     * 收
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;
    private String address;
    private String remark;

    /**
     * 是否经过身份认证：0，未验证，1已验证
     */
    private String valid;

    /**
     * 会员级别：0普通销售员，1销售经理，2企业销售
     */
    private String level;

    /**
     * 下线销售员数量
     */
    @Column(name = "sales_count")
    private Integer salesCount;

    /**
     * 用户名
     */
    @Column(name = "user_name")
    private String userName;

    /**
     * 密码
     */
    private String password;

    @Column(name = "create_at")
    private Date createAt;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 审核状态 0 未提交审核，1提交审核，2审核通过，3审核拒，拒绝原因通过站内信方式反馈
     */
    @Column(name = "check_status")
    private String checkStatus;

    /**
     * 用户类型：0竞拍团队、1竞拍作者、2导师团队
     */
    private Integer type1;
    private String status;

    /**
     * 显示用户名称、或姓名
     */
    @Column(name = "show_name_user_name")
    private String showNameUserName;

    private Integer favor;

    private SaleInfo si;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getSortField() {
        return sortField;
    }

    public void setSortField(String sortField) {
        this.sortField = sortField;
    }

    public String getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(String sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Double getSaleTotalCash() {
        return saleTotalCash;
    }

    public void setSaleTotalCash(Double saleTotalCash) {
        this.saleTotalCash = saleTotalCash;
    }

    public int getSaleTotalNumber() {
        return saleTotalNumber;
    }

    public void setSaleTotalNumber(int saleTotalNumber) {
        this.saleTotalNumber = saleTotalNumber;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getImgCode() {
        return imgCode;
    }

    public void setImgCode(String imgCode) {
        this.imgCode = imgCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getValid() {
        return valid;
    }

    public void setValid(String valid) {
        this.valid = valid;
    }


    @Override
    public Integer getSalesCount() {
        return salesCount;
    }

    @Override
    public void setSalesCount(Integer salesCount) {
        this.salesCount = salesCount;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus;
    }

    public Integer getType1() {
        return type1;
    }

    public void setType1(Integer type1) {
        this.type1 = type1;
    }

    public String getShowNameUserName() {
        return showNameUserName;
    }

    public void setShowNameUserName(String showNameUserName) {
        this.showNameUserName = showNameUserName;
    }

    public Integer getFavor() {
        return favor;
    }

    public void setFavor(Integer favor) {
        this.favor = favor;
    }

    private String distinct;

    public String getDistinct() {
        return distinct;
    }

    public void setDistinct(String distinct) {
        this.distinct = distinct;
    }

    public SaleInfo getSi() {
        return si;
    }

    public void setSi(SaleInfo si) {
        this.si = si;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }
}
